class A:
    def __init__(self):
        print("A")


class B(A):
    def __init__(self):
        print("B")
        super().__init__()


# super调用的是__mro__查找顺序的类
if __name__ == '__main__':
    b = B()
